﻿<Page x:Class="App2.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="using:App2"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Border Width="500"
                Height="500"
                BorderBrush="White"
                BorderThickness="5">
            <Grid>
                <Canvas x:Name="MyCanvas">
                    <Rectangle x:Name="MyRectangle"
                               Width="50"
                               Height="50"
                               Fill="CornflowerBlue">
                        <Rectangle.RenderTransform>
                            <CompositeTransform TranslateX="225" TranslateY="225" />
                        </Rectangle.RenderTransform>
                    </Rectangle>
                </Canvas>
            </Grid>
        </Border>
    </Grid>
</Page>
